<load href="../Public/css/account.css" />

<div id="main-content">


    <div class="left">
        <div class="thin-caption">
            <div class="thin-caption-left"></div>
            <div class="thin-caption-content"></div>
            <div class="thin-caption-right"></div>
        </div>
        <div class="left-field profile-page">
            <h1>账户管理</h1>
            <div class="account-tab">
                <ul>
                    <li class="selected"><a href="javascript:void(0);">个人资料</a></li>
                    <li><a href="__APP__/User/avatar.shtml">头像</a></li>
                    <li><a href="__APP__/User/account.shtml">账号与密码</a></li>
                    <li><a href="/accounts/social/">绑定</a></li>
                </ul>
            </div>
            <form id="form_profile" method="post" action="__APP__/User/profile.shtml" enctype="multipart/form-data" class="form-box">
                <div style="display:none"><input type="hidden" value="{$Think.Session.WEB_USER.id }" name="id"></div>
                <div class="input-box">
                    <label for="id_nick_name">昵称</label><input type="text" maxlength="30" value="{$Think.Session.WEB_USER.nick_name}" name="nick_name" id="id_nick_name"><span class="error"></span>
                </div>
                <div class="input-box">
                    <label>头像</label>

                    <img src='<empty name="Think.Session.WEB_USER.avatar">../Public/images/baipaopao.jpg<else />{$Think.Session.WEB_USER.avatar}</empty>'/>

                    <a href="__APP__/User/avatar.shtml">更新</a>
                </div>
                <div class="input-box">
                    <label for="id_blog">Blog</label><input type="text" maxlength="100" name="blog" id="id_blog" value="{$Think.Session.WEB_USER.blog}" /><span class="error"></span>
                </div>
                <div class="input-box">
                    <label style="vertical-align:top" for="id_introductions">自我介绍</label>
                    <textarea name="self_introduction" cols="40" rows="10" id="id_introductions">{$Think.Session.WEB_USER.self_introduction}</textarea><span class="error"></span>
                </div>
                <div class="input-box">
                    <label class="fleft" for="submit">
                        &nbsp;
                    </label>
                    <a href="#" id="a_profile" class="rectangle-small-button fleft">提交</a>
                </div>
            </form>
            <div class="clear">
            </div>
        </div>
        <div class="left-shadow"></div>
    </div>
    <div class="right">
    </div>
    <div class="clear">
    </div>

</div>

<script>
    $(function(){
        $("#a_profile").click(function(){
            var $form = $('#form_profile');
            
            
            $form.submit();
        });
    });
</script>